package com.ruoyi.mongo.senior.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
// 忽略JSON中实体类没有的字段
@JsonIgnoreProperties(ignoreUnknown = true)
public class SeniorRecord {
    @Id
    private String _id; // MongoDB文档的ID，通常是ObjectId类型
    private String name; //
    private String optionsAll; //
    private String book; //
    private String unit; //
    private String type; //
    private String practiceId; //
    private String chinese; //
    private int group;
    private int number; //
    private boolean result; // 对、错
    private String selected; //选择的
    private String time;
}
